package com.gem.springbootdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication  //重要
//扫描接口,给每个接口实例化实现类对象
@MapperScan(basePackages = "com.gem.springbootdemo.mapper")
public class SpringbootdemoApplication {

    //main,程序执行的入口
    public static void main(String[] args) {
        SpringApplication.run(SpringbootdemoApplication.class, args);
    }

}
